package com.zysf.library_boot.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zysf.library_boot.dto.MyReaderCommentDto;
import com.zysf.library_boot.dto.ReaderCommentDto;
import com.zysf.library_boot.entity.ReaderComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 31161
* @description 针对表【reader_comment】的数据库操作Mapper
* @createDate 2025-01-03 00:32:38
* @Entity com.zysf.library_boot.entity.ReaderComment
*/
@Mapper
public interface ReaderCommentMapper extends BaseMapper<ReaderComment> {

    IPage<ReaderCommentDto> getCustomReaderComment(Page<ReaderCommentDto> page);

    IPage<MyReaderCommentDto> getCustomMyReaderComment(@Param("id") Integer id, Page<MyReaderCommentDto> page);
}




